Dynomotion

Group: DynoMotion Message: 9482 From: Colin Fera Date: 5/10/2014
Subject: execute pc fails
Hi,

I am trying to run a windows batch file from kmotion cnc using a user but with the execute pc.

The batch file reads current state from a file, and based on that state sends various options to a windows console app, it also writes back the state change to the file.

It works fine when run manually, but gives an error from motion:
"error
return code = 255
abort"

Is this a windows security setting perhaps?

Thanks,
Colin
Group: DynoMotion Message: 9490 From: Tom Kerekes Date: 5/10/2014
Subject: Re: execute pc fails
Hi Colin,

The return code from your PC Program or batch file should be 0.  That message indicates your program is returning an error code of 255.

You might also read this Topic:
https://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/6718

Regards
TK